package com.shadowlight.hero_story.login.database;

import com.shadowlight.hero_story.login.database.entity.UserEntity;
import org.apache.ibatis.annotations.Param;

/**
 * @Description 用户访问数据接口层
 * @Author cz
 * @Date 2022/3/15
 */
public interface IUserEntityDao {

    UserEntity getByUserName(@Param("userName") String name);

    void insertInto(UserEntity userEntity);

    void updateHeroAvatarById(@Param("id") Integer id,
                              @Param("heroAvatar") String heroAvatar);
}
